package com.server.questionbank.snframe.domain.dto;

import com.server.questionbank.snframe.domain.Course.Type.CourseLabel;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author Tu
 * 课程详细实体
 */
@Data
public class CourseDetail {
    /** 课程ID */
    private Long courseId;
    /** 课程名 */
    private String courseName;
    /** 课程封面 */
    private String coursePicPath;
    /** 课程简介 */
    private String courseDescription;
    /** 学习人数 */
    private Integer courseNumberOfLearners;
    /** 评价人数 */
    private Integer courseNumberOfEvaluations;
    /** 课程难度 */
    private String courseDifficulty;
    /** 评分 */
    private Double courseScore;
    /** 更新时间 */
    private Date courseUpdateTime;
    /** 课程标签 */
    private List<CourseLabel> tagLables;
    @Override
    public String toString() {
        return "{" +
                "courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", coursePicPath='" + coursePicPath + '\'' +
                ", courseDescription='" + courseDescription + '\'' +
                ", courseNumberOfLearners=" + courseNumberOfLearners +
                ", courseNumberOfEvaluations=" + courseNumberOfEvaluations +
                ", courseDifficulty='" + courseDifficulty + '\'' +
                ", courseScore=" + courseScore +
                ", courseUpdateTime=" + courseUpdateTime +
                ", tagLables:" + tagLables+ "}";
    }
}
